
<form method="post" action="/oss/?r=rechargeUrl/doAdd">
    <{include file='../common_params.tpl'}>

    <div class="box box-black">
        <div class="box-body">
            <table class="table table-bordered">
                <colgroup>
                    <col style="width: 20%;"></col>
                    <col style="width: 80%;"></col>
                </colgroup>
                
                
                <tr>
                    <th class="th-label">渠道</th>
                    <td>
                        <input type="text" name="channel" class="form-control inline" placeholder="" />
                    </td>
                </tr>
                
                <tr>
                    <th class="th-label">包号</th>
                    <td>
                        <input type="text" name="packet" class="form-control inline" placeholder="" />
                    </td>
                </tr>
                
                
                <tr>
                    <th class="th-label">充值URL(18元)</th>
                    <td>
                        <input type="text"  name="money_18" class="form-control " value="com.qdazzle.myjyh.qxcs.yb180" placeholder="" />
                    </td>
                </tr>
                
                <tr>
                    <th class="th-label">充值URL(6元)</th>
                    <td>
                        <input type="text"  name="money_6" class="form-control " value="com.qdazzle.myjyh.qxcs.yb60" placeholder="" />
                    </td>
                </tr>
                
                <tr>
                    <th class="th-label">充值URL(30元)</th>
                    <td>
                        <input type="text"  name="money_30" class="form-control " value="com.qdazzle.myjyh.qxcs.yb300" placeholder="" />
                    </td>
                </tr>
                
                <tr>
                    <th class="th-label">充值URL(68元)</th>
                    <td>
                        <input type="text"  name="money_68" class="form-control " value="com.qdazzle.myjyh.qxcs.yb680" placeholder="" />
                    </td>
                </tr>
                
                <tr>
                    <th class="th-label">充值URL(128元)</th>
                    <td>
                        <input type="text"  name="money_128" class="form-control " value="com.qdazzle.myjyh.qxcs.yb1280" placeholder="" />
                    </td>
                </tr>
                
                <tr>
                    <th class="th-label">充值URL(198元)</th>
                    <td>
                        <input type="text"  name="money_198" class="form-control " value="com.qdazzle.myjyh.qxcs.yb1980" placeholder="" />
                    </td>
                </tr>
                
                <tr>
                    <th class="th-label">充值URL(328元)</th>
                    <td>
                        <input type="text"  name="money_328" class="form-control " value="com.qdazzle.myjyh.qxcs.3280" placeholder="" />
                    </td>
                </tr>
                
                <tr>
                    <th class="th-label">充值URL(648元)</th>
                    <td>
                        <input type="text"  name="money_648" class="form-control " value="com.qdazzle.myjyh.qxcs.yb6480" placeholder="" />
                    </td>
                </tr>
                
               
            </table>
        </div>

        <div class="box-footer">
            <a href="javascript:history.go(-1);" class="btn btn-default">返回</a>
            <button type="submit" name="sub" class="btn btn-default pull-right">保存</button>
        </div>
    </div>
</form>

<script type="text/javascript">
    $(function(){
    	$('button[name="sub"]').click(function(){    	
    		var channel = $('input[name="channel"]').val();
        	if(channel == ''){
        		layer.alert('请填写渠道', {icon: 2, skin: 'layui-layer-molv'});
            	return false;
        	}
        	
        	var packet = $('input[name="packet"]').val();
        	if(packet == ''){
        		layer.alert('请填写包号', {icon: 2, skin: 'layui-layer-molv'});
            	return false;
        	}
        });
    });
</script>